git pull
if test -z "$1"
then 
  echo "请输入tag!!!"
  exit
fi

docker build -t twwch/k8s-admin-web:$1 .

docker push twwch/k8s-admin-web:$1

kubectl rollout restart deploy k8s-admin-web-deploy

